<form method="post" action="?action=process&file=<?=$_POST['file'];?>&to=<?=$_POST['to'];?>">
<?php
  foreach($kleolang->constants as $const => $value){
?>
<label class="column" align="center">
<?=$const;?>
</label>
<label class="column" align="center">
  <input type="text" name="<?=$const;?>" value="<?=htmlentities($value);?>" />
</label>
<?php
  }
?>
<label>
<button type="submit">Generate file!</button>
</label>
</form>
